package com.tao.spell.group.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.tao.spell.common.utils.PageUtils;
import com.tao.spell.common.utils.Query;

import com.tao.spell.group.dao.QianUserDao;
import com.tao.spell.group.entity.QianUserEntity;
import com.tao.spell.group.service.QianUserService;


@Service("qianUserService")
public class QianUserServiceImpl extends ServiceImpl<QianUserDao, QianUserEntity> implements QianUserService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<QianUserEntity> page = this.page(
                new Query<QianUserEntity>().getPage(params),
                new QueryWrapper<QianUserEntity>()
        );

        return new PageUtils(page);
    }

}